#include "stdafx.h"
#include "LDefine.h"

#include "Factor.h"

int gonCreate()
{
	gman = new Factor();
	gptAddress(gman, TEXT("gonCreate.gman"), sizeof(Factor));
	return 0;
}
void gonDestory()
{
	if( gman )
	{
		delete gman;
		gman = NULL;
	}
}
int gonInit()
{
	//gman->create();
	return gman->linit();
	//return 0;
}

void gonExit()
{
	//gman->lexit();
	//gman->lexitAll();
	LObj::lexitAll();
}

void gptAddress( void * addr, CString s, int len)
{
	TRACE(TEXT("-new-: 0x%08X,%d,\t\t%s\r\n"), addr, len, s);
}

